import numpy as np
import pandas as pd

import warnings
warnings.filterwarnings("ignore", category=DeprecationWarning)
warnings.filterwarnings("ignore", category=FutureWarning)
warnings.filterwarnings("ignore", category=UserWarning)

pd.set_option('display.max_columns', None); pd.set_option('display.max_rows', None);  # to display all columns and rows
pd.set_option('display.float_format', lambda x: '%.2f' % x) # The number of numbers that will be shown after the comma.

df = pd.read_csv("../DATA/diabetes.csv")

print(df.describe([0.10,0.25,0.50,0.75,0.90,0.95,0.99]).T)

dataDescirbe = df.describe([0.10,0.25,0.50,0.75,0.90,0.95,0.99]).T

dataDescirbe.to_csv('./dataDescirbe.csv')

print(df["Outcome"].value_counts()*100/len(df))